package com.zr.service.base;

import java.util.List;
import java.io.IOException;
import org.springframework.web.multipart.MultipartFile;

/**
 * 司机备证照片上传和回显接口
 */
public interface BaseDriverPhotoService {

    /**
     * 上传司机备证图片信息
     * @param files
     * @return
     * @throws IOException
     * @author liutienan
     */
    List<String> uploadImg(MultipartFile[] files, String driverId) throws IOException;

    /**
     * 司机备证照片列表
     * @param driverId
     * @return
     * @throws IOException
     * @author liutienan
     */
    List<String> showDriverPhotos(String driverId);
}
